home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 2: CDPD 1
/
Almathera Ten on Ten - Disc 2: CDPD 1.iso
/
pd
/
301-325
/
316
/
life
/
blit.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-14
|
583b
|
26 lines
/*
* This is the structure passed to the new
* blit routine that holds all of the
* parameters.
*/
struct blitparam {
short con0, con1, fwm, lwm ;
short *asource, *bsource, *csource, *dsource ;
short bltsize ;
short amod, bmod, cmod, dmod ;
short cdat, bdat, adat ;
} ;
/*
* Defines to make things a tad easier.
*/
#define USEA (0x0800)
#define USEB (0x0400)
#define USEC (0x0200)
#define USED (0x0100)
#define EFE (0x0010)
#define IFE (0x0008)
#define FCI (0x0004)
#define DESC (0x0002)
#define BLTSIZE(x,y) (((y)<<6)+x)
#define SHIFTSHIFT(x) ((x)<<12)